<table class="subject" cellpadding="0" cellspacing="0">
  <tr>
    <td class="name" colspan="2">
      <%= link_to subject.name, subject %>
    </td>
  </tr>
  <tr>
    <td class="code"><%= subject.code %></td>
    <td class="credits"><%= "#{subject.credits} #{Subject.human_attribute_name(:credits)}" %></td>
  </tr>
</table>
